package com.springBoot.service;

import com.springBoot.entity.DataEntity;

import java.util.List;
import java.util.Map;
import java.util.concurrent.Future;

public interface DataOperationService {

    //单个删除
    public void deleteData(DataEntity dataEntity);

    //批量更新
    public Future<List<Map<String, String>>> batchUpdate(List<Map<String, String>> dataList);

    //批量删除
    public void batchDelete(List<DataEntity> dataEntityList);

    //批量插入
    public Future<List<Map<String, String>>> batchInsert(List<Map<String, String>> dataList);

}
